﻿
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0014)about:internet -->
<html>
    <head>
        <meta content="Innovasys Document! X (http://www.innovasys.com)" name=GENERATOR>
        <!--DXMETADATA start type="MetaCharset" --><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><!--DXMETADATA end-->
        <!--DXMETADATA start type="PageItemTitle" format="<title>XTPToolTipStyle Enumeration (XtremePropertyGrid)</title>" --><title>XTPToolTipStyle Enumeration</title><!--DXMETADATA end-->
        <link href="stylesheets/axstylesheet.css" type=text/css rel=stylesheet>
        <script src="script/ax.js" type=text/javascript>
    </script>

    


<style>
html,div { margin: 0; padding: 0;}

body {
	padding: 0px;
	margin: 0px;
	overflow: auto;
	height: 100%;
}

#winchm_template_button{
	float: right;
	width: 93px;
	top: 7px;
	position: relative;
	text-align: right;
	right: 5px;
	height: auto;
}

#winchm_template_top{
	padding: 0px;
	margin: 0px;
	border-bottom: 1px solid #9B9B9B;
	background-color: #B1CEFE;
}

#winchm_template_navigation{
	margin: 0px;
	padding-top: 7px;
	padding-left: 7px;
	padding-bottom: 3px;
	padding-right: 0px;
	font-size: 8.5pt;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #585858;
}

#winchm_template_title{
	margin: 0px;
	padding-top: 4px;
	padding-left: 7px;
	padding-bottom: 7px;
	padding-right: 0px;
	font-size: 18px; 
	font-family: Verdana, Geneva, sans-serif;
	color: #363636;
}

#winchm_template_content{
	margin-top: 20px;
	margin-left: 15px;
	margin-bottom: 20px;
	margin-right: 15px;
	width: auto  !important;
	width: 100%;
}

#winchm_template_footer{
	border-width: 1px;
	border-color: #B1CEFE;
	border-top-style: solid;
	margin-top: 15px;
	margin-left: 15px;
	margin-bottom: 20px;
	margin-right: 15px;
	padding-top: 7px;
	padding-left: 0px;
	padding-bottom: 0px;
	padding-right: 0px;
	font-family: arial, helvetica, sans-serif;
	font-size: 8.5pt;
	color: #696969;
	width: auto;
	text-align: left;
}


#winchm_template_container{
	margin: 0px;
	padding: 0px;
	position: static;
	padding-bottom: 3px;
	overflow: auto;
	background-color: #FFFFFF;
}


@media print
{
#winchm_template_container{
	position: static;	
	margin: 0px;
	padding: 5px;
	
	width: auto;
	height: auto;
	overflow: auto;
}
#winchm_template_button{
visibility:hidden;
}
}

#winchm_template_navigation A:link	{text-decoration: none; color:#004080}
#winchm_template_navigation A:visited  {text-decoration: none; color: #004080}
#winchm_template_navigation A:active {text-decoration: none; color: #004080 }
#winchm_template_navigation A:hover {text-decoration: none;color: #0080FF}

A:link	{text-decoration: underline; color:#0033CC}
A:visited  {text-decoration: underline; color: #0033CC}
A:active {text-decoration: underline; color: #0033CC }
A:hover {text-decoration: underline;color: #FF0000;}
</style>
<script type="text/javascript">
function isMobile(){
Agent = window.navigator.userAgent;
if (Agent.indexOf("iPhone")>=1 || Agent.indexOf("iPad")>=1 || Agent.indexOf("iPod")>=1 || Agent.indexOf("Android")>=1){
return true;
}else{
return false;	
}

}
function d_onresize(){
if (window.navigator.userAgent.indexOf("MSIE")>=1){
document.getElementById('winchm_template_container').style.pixelWidth = document.body.offsetWidth - 3;
document.getElementById('winchm_template_container').style.pixelHeight = document.body.offsetHeight - document.getElementById('winchm_template_top').offsetHeight - 4;
}
document.getElementById('winchm_template_container').style.top = document.getElementById('winchm_template_top').offsetHeight + 'px';
}

function d_onbeforeprint(){
document.getElementById('winchm_template_container').style.width = 'auto';
document.getElementById('winchm_template_container').style.height = 'auto';
}

function d_onafterprint(){
d_onresize();
}

if(!isMobile()){

window.onload = d_onresize;
window.onresize = d_onresize;
window.onbeforeprint = d_onbeforeprint;
window.onafterprint = d_onafterprint;

document.write("<style>\n");
document.write("body {overflow: hidden;}\n");
document.write("#winchm_template_container {position: absolute;overflow: auto;top : 0px;right: 0px;bottom: 0px;left: 0px;}\n");
document.write("</style>\n");
}

</script>
</head>
    <body><script language="JavaScript" type="text/JavaScript">
function syn(){
if(parent.nav.tree){
 if(parent.nav.tree.loaded){
  parent.nav.tree.selectNode(13310);
 }else{
  setTimeout("syn()",500);
}
  }else{
  setTimeout("syn()",500);
  }}
if(parent!=self){
  setTimeout("syn()",100);
}else{
  parent.location.href = "../index.htm?page=XtremePropertyGrid~Enumerations~XTPToolTipStyle_EN.html";
}
originalOnload = window.onload;
if(originalOnload==null){
window.onload = function(){parent.contentLoaded = true;};
}else{
window.onload = function(){originalOnload();parent.contentLoaded = true;};
}
</script> 


<div id="winchm_template_top">
	<div id="winchm_template_button"><A href="XtremePropertyGrid~Enumerations~XTPToolTipIcon_EN.html" title="Previous topic"><img id="winchm_template_prev" alt="Previous topic" src="template2/btn_prev_n.gif" border="0"></a><A href="XtremeReportControl_P.html" title="Next topic"><img id="winchm_template_next" alt="Next topic" src="template2/btn_next_n.gif" border="0"></a></div>
	<div id="winchm_template_navigation">Help &gt; 
<A href="welcome_screen.htm">Codejock ActiveX Controls v15.3</A> &gt; <A href="XtremePropertyGrid_P.html">Xtreme Property Grid</A> &gt; Enumerations &gt; </div>
	<div id="winchm_template_title">XTPToolTipStyle Enumeration (XtremePropertyGrid)</div>
</div>
<div id="winchm_template_container">
	<div id="winchm_template_content">
        <div id=pagetop>
            <div id=projectnamebanner>
                <table class=projectnametable cellspacing=0>
                    <tbody>
                        <tr>
                            <!--DXMETADATA start type="Literal" condition="childitems:itemtype=seealso" value="<td class='button'><a href='' id='seealsobutton' onclick='showSeeAlsoBox()'><img alt='See Also' border='0' src='axImages/seealso.gif' width=14 height=14></a></td>"--><td class='button'><a href='' id='seealsobutton' onclick='showSeeAlsoBox()'><img alt='See Also' border='0' src='axImages/seealso.gif' width=14 height=14></a></td><!--DXMETADATA end-->
                            <td>
                                <!--DXMETADATA start type="Phrase" Name="Product_Header" -->Xtreme Property Grid ActiveX Control v15.3<!--DXMETADATA end --> 
                            </td>
                            <td align=right>
                                <!--DXMETADATA start type="Variable" name="FeedbackLink" format="" --><!--DXMETADATA end --> 
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div id=pagetitlebanner>
                <h1 class=dxh1>
                <!--DXMETADATA start type="PageItemTitle" -->XTPToolTipStyle Enumeration<!--DXMETADATA end --></h1>
            </div>
        </div>
        <div id=pagebody valign="bottom">
            <!--DXMETADATA start type="IsNew" format="<script>document.all.pagebody.className = 'newTopic'</script>" --><!--DXMETADATA end --> 
            <!--DXMETADATA start type="Description" source="Item" format="<h4 class=dxh4>$$Description$$</h4><p>%%description%%</p>" --><h4 class=dxh4>Description</h4><p>Specifies the <STRONG>style</STRONG> of the tool tip when it is displayed.</p><!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="ENUM_MEMBER_LIST" namespace="enumeration member" source="Item" filter="" format="<h4 class=dxh4>$$Members$$</h4>%%filtereditemlist%%" --><h4 class=dxh4>Members</h4><TABLE CLASS="FilteredItemListTable" CellSpacing="0"><TR VALIGN="top"><TH width="30%">Member</TH><TH width="70%">Description</TH></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpToolTipStandard</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Tool tips will use the <STRONG>Standard</STRONG>&nbsp;window style.&nbsp; The tool tips window will be in the shape of a rectangle with a solid dark border around it.
<P>&nbsp;</P>
<P><IMG src="Pictures/xtptooltipstyle_standard.gif"></P></TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpToolTipBalloon</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Tool tips will use the <STRONG>Balloon</STRONG> window style.&nbsp; The tool tip window will be in the shape of a balloon.
<P>&nbsp;</P>
<P><IMG src="Pictures/xtptooltipstyle_balloon.gif"></P></TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpToolTipOffice</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Tool tips will use the <STRONG>Office</STRONG> window style.&nbsp; The tool tips window will be in the shape of a rectangle with a dark&nbsp;border on the right and bottom sides and a light border on the top and left sides.
<P>&nbsp;</P>
<P><IMG src="Pictures/xtptooltipstyle_office.gif"></P></TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpToolTipRTF</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Tool tips will use the <STRONG>Rich-Text Format</STRONG> (<STRONG>RTF</STRONG>)&nbsp;window style.&nbsp; The tool tips window will be in the shape of a rectangle with a solid dark border around it.&nbsp; If the text stored in the <A href="#Bookmark12304">ToolTip</A> property is in <STRONG>RTF</STRONG> format, the tool tip will be displayed using the <STRONG>RTF</STRONG> formatting.&nbsp; This includes font, font size, color, bullets, etc.
<P>The picture below illustrates an RTF tool tip that includes bold text, colored text, underlined text, a new font, and bullets.</P>
<P><IMG src="Pictures/xtptooltipstyle_rtf.gif"></P></TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpToolTipLuna</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">ToolTips will use the Windows Xp Luna color gradient as the back color of the tooltip window.&nbsp; The color depends on the appearance style of the operating system.
<P>&nbsp;</P>
<P><IMG src="Pictures/xtptooltipstyle_luna.gif" border=0></P></TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpToolTipResource</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Tooltip will use the Office 2007 window style.
<P><IMG src="Pictures/xtptooltipstyle_office2007.gif" border=0></P></TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpToolTipHTML</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Tooltip will use HTML formatting to format the tooltip.
<P>&nbsp;</P>
<P>This allows you to insert HTML objects such as tables or use HTML formatting such as font, bold, etc.</P></TD></TR>
<TR><TD CLASS=MemberNameCell WIDTH="30%"><strong>xtpToolTipMarkup</strong></TD><TD CLASS="DescriptionCell" WIDTH="70%">Tooltip will use XAML MarkUp formatting to format the tooltip.&nbsp; See <A href="#Bookmark13310">this</A> sample.</TD></TR>
</TABLE><!--DXMETADATA end --> 
            <!--DXMETADATA start type="TaggedComment" source="Item" id="##REMARKS" format="<h4 class=dxh4>$$Remarks$$</h4><p>%%comment%%</p>" --><h4 class=dxh4>Remarks</h4><p><P>By default the text that is stored in the <A href="#Bookmark12304">ToolTip</A> property will be displayed in the tool tip window.</P>
<P>&nbsp;</P>
<P><STRONG>Requirements</STRONG>:</P>
<P>The <STRONG>xtpToolTipBalloon XTPToolTipStyle</STRONG> requires Internet Explorer 5.0 or above to be installed.&nbsp; The <A href="#Bookmark12742">IsBalloonStyleSupported</A> method can be used to determine if the&nbsp;<STRONG>xtpToolTipBalloon</STRONG> style is supported.</P>
<P>&nbsp;</P>
<P><STRONG>XAML Tooltips</STRONG>:</P>
<P>&nbsp;</P>
<P>Only controls with a <B>TooltipContext</B> property can use Markup for tooltips. The sample below shows a TabControl that uses Markup tooltip, in this case, the second tab's tooltip is being set. Note EnableMarkup is not needed to enable Markup for the toolip. The style of the tooltip must be set to <B>xtpToolTipMarkup</B>. To display both a Markup Tooltip and Markup in the caption on the TabControl tabs both <B>EnableMarkup</B> and <B>xtpToolTipMarkup</B> are required. The <B>xtpToolTipMarkup</B> style is required to display Markup tooltips for the TabControl (or any other TooltipContext enabled control). Note the sample used images stored in a ImageManager as the image source.<BR><BR>The sample below will use XAML to create a tooltip for a tab button in a TabControl.</P>
<P><IMG src="Pictures/tooltip.png" border=0></P></p><!--DXMETADATA end --> 
            <!--DXMETADATA start type="TaggedComment" source="Item" id="##EXAMPLEINTRO" format="<h4 class=dxh4>$$Example$$</h4><p>%%comment%%</p>" --><!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="INLINE_EXAMPLE" namespace="Example" source="Item" filter="type=inline" NoHeader="True" NoFooter="True" format="<h4 class=dxh4>$$Example$$</h4>,format= %%%%filtereditemlist%%" --><h4 class=dxh4>Example</h4><DIV Class=LanguageSpecific Name=Example_VB><p><SPAN class="lang">[XAML Tooltip (Visual Basic)]</SPAN>&nbsp;This sample shows how to use XAML MarkUp for a ToolTip.</p><DIV Class=LanguageSpecific Name=Code_VB><TABLE Class="CodeContainerTable" CellPadding="0" CellSpacing="0" Border="0"><TR><TD NOWRAP><CODE Class="VB"><font class='comment'>'VB 6 code snippet</font><BR/>
TabControl.ToolTipContext.Style = xtpToolTipMarkup<BR/>
<BR/>
TabControl.Item(1).ToolTip = _<BR/>
<font class='string'>&quot;&lt;Border Padding='4' Width='200px' BorderThickness='1' &quot;</font> & _<BR/>
<font class='string'>&quot;BorderBrush='#767676' Background='#e4ecf7'&gt;&quot;</font> & _<BR/>
<font class='string'>&quot;&lt;StackPanel TextBlock.FontFamily='Tahoma'&gt;&quot;</font> & _<BR/>
<font class='string'>&quot;   &lt;TextBlock Padding='1, 3, 1, 3' FontWeight='Bold'&gt;Change Case&quot;</font> & _<BR/>
<font class='string'>&quot;&lt;/TextBlock&gt;&quot;</font> & _<BR/>
<font class='string'>&quot;   &lt;TextBlock Padding='9, 6, 30, 7' TextWrapping='Wrap'&gt;Change all the &quot;</font> & _<BR/>
<font class='string'>&quot;selected text to UPPERCASE, lowercase, or other common capitalizations.&quot;</font> & _<BR/>
<font class='string'>&quot;&lt;/TextBlock&gt;&quot;</font> & _<BR/>
<font class='string'>&quot;   &lt;Border Height='1' Background='#9ebbdd' /&gt;&quot;</font> & _<BR/>
<font class='string'>&quot;   &lt;Border Height='1' Background='White' /&gt;&quot;</font> & _<BR/>
<font class='string'>&quot;   &lt;StackPanel Margin='1, 7, 0, 3' Orientation='Horizontal'&gt;&quot;</font> & _<BR/>
<font class='string'>&quot;        &lt;Image Source='12'/&gt;&lt;TextBlock Margin='7, 0, 0, 0' &quot;</font> & _<BR/>
<font class='string'>&quot;VerticalAlignment='Center' FontWeight='Bold'&gt;Press F1 for more help.&quot;</font> & _<BR/>
<font class='string'>&quot;&lt;/TextBlock&gt;&quot;</font> & _<BR/>
<font class='string'>&quot;   &lt;/StackPanel&gt;&quot;</font> & _<BR/>
<font class='string'>&quot;&lt;/StackPanel&gt;&quot;</font> & _<BR/>
<font class='string'>&quot;&lt;/Border&gt;&quot;</font></CODE></TD></TR></TABLE></DIV></DIV>
<!--DXMETADATA end --> 
            <!--DXMETADATA start type="FilteredItemList" scrap="MENU_LINK" namespace="seealso" source="Item" filter="" NoHeader="True" NoFooter="True" format="<h4 class=dxh4>$$See_Also$$</h4><p id=dxseealsocontent>%%filtereditemlist%%</p>" --><h4 class=dxh4>See Also</h4><p id=dxseealsocontent><a href="#Bookmark12751">Style Property</a>
</p><!--DXMETADATA end --><!--DXMETADATA start type="Variable" name="CopyrightNotice" format="><!--DXMETADATA end --></div></div>	
	<div id="winchm_template_footer">Copyright &copy; 2018. All rights 
reserved. (To change the copyright info, just edit it in template.)</div>
</div>

</body>
</html>

